import Vue from "vue";

import App from "./user.vue";
Vue.config.productionTip = false;

import axios from "axios";
import "../../axios/config.js";
Vue.prototype.$axios = axios;

import "muse-ui/lib/styles/base.less";
import {
  List,
  Paper,
  Divider,
  TextField,
  Menu,
  Button,
  Icon,
  Dialog,
  Grid,
  Select,
  Radio,
  Snackbar,
  Avatar,
  Form,
} from "muse-ui";
import "muse-ui/lib/styles/theme.less";
import "muse-ui-message/dist/muse-ui-message.css";
import Message from "muse-ui-message";
import Toast from "muse-ui-toast";

Vue.use(Snackbar);
Vue.use(Message);
Vue.use(Toast, {
  position: "top",
});
Vue.use(List);
Vue.use(Paper);
Vue.use(Divider);
Vue.use(TextField);
Vue.use(Menu);
Vue.use(Button);
Vue.use(Icon);
Vue.use(Dialog);
Vue.use(Grid);
Vue.use(Select);
Vue.use(Radio);
Vue.use(Form);
Vue.use(Avatar);
import "../../assets/museui_tools.less";
// 引入路由
import router from "./router/index.js";

new Vue({
  render: (h) => h(App),
  router, // 加载路由
}).$mount("#app");
